package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.entity.FeeDetails;
import com.neu.fenli2023623.entity.Mzxf;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author surhon
* @description 针对表【mzxf】的数据库操作Mapper
* @createDate 2023-07-08 15:52:40
* @Entity com.neu.fenli2023623.entity.Mzxf
*/

@Mapper
public interface MzxfMapper {
    List<Map<String, Object>> selectAll();
    List<Map<String, Object>> selectByDateRange(String startDate, String endDate) ;
    List<Map<String, Object>> selectByPatient(String patientName, String cardNumber);
    int updateAddNote(Mzxf record);
    List<Map<String, Object>> selectByDateRangeOrPatient(String startDate, String endDate,String patientName, String cardNumber);
    List<FeeDetails>  selectProjectDetails(String mz_order_id);

    int deleteByPrimaryKey(Long id);

    int insert(Mzxf record);

    int insertSelective(Mzxf record);

    Mzxf selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Mzxf record);
    int updateByPrimaryKey(Mzxf record);

}
